import { NgModule } from '@angular/core';
import { HttpModule }    from '@angular/http';
import { BrowserModule } from  '@angular/platform-browser';

/* Common Module */
import { CommonModule } from '../common/common.module';

/* Game Component */
import { GameDetailsComponent } from './game_details.component';
//import { GameNavComponent } from './my_project.nav.component';
//import { GameScreenComponent } from './my_project.screen.component';

/* Game Service */
import { GameService } from '../../service/game_details.service';

@NgModule({
    imports: [
        HttpModule,
        BrowserModule,
        CommonModule
    ],
    providers: [
        GameService
    ],
    declarations: [
        GameDetailsComponent, // 主组件
        //GameNavComponent, // 列表导航
      //  GameScreenComponent // 列表筛选
    ],
    exports: [ GameDetailsComponent]
})
export class GameDetailsModule {

    constructor() {
        console.log('Module: "Game" Loading completed');
    }

}